package cn.iocoder.yudao.module.shop.info.convert;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.shop.info.dal.dataobject.ShopInfoDO;
import cn.iocoder.yudao.module.shop.info.vo.AdminShopInfoVO;
import cn.iocoder.yudao.module.shop.info.vo.ShopInfoSimpleRespVO;
import cn.iocoder.yudao.module.shop.info.vo.ShopInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ShopInfoConvert {

    ShopInfoConvert INSTANCE = Mappers.getMapper(ShopInfoConvert.class);

    ShopInfoSimpleRespVO convert(ShopInfoDO bean);

    List<ShopInfoSimpleRespVO> convertSimpleList(List<ShopInfoDO> list);

    ShopInfoVO convert2(ShopInfoDO page);

    AdminShopInfoVO convert3(ShopInfoDO page);

    PageResult<ShopInfoVO> convertPage(PageResult<ShopInfoDO> page);

    PageResult<AdminShopInfoVO> convertPage2(PageResult<ShopInfoDO> page);

}
